package org.dey.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.util.Date;

@Component
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("t_risk_assessment")//
public class RiskAssessment implements Serializable {

    @TableField(exist = false)
    private Integer id;//序号

    @TableId(value = "raidd", type = IdType.AUTO)
    private Integer raidd;

    private String raid;//档案号
    @TableField(value = "ra_name", exist = false)
    private String raname;//姓名
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date dateOfAssessment;//评估时间
    private String calmness;//平和质
    private String deficiencyOfQi;//气虚质
    private String deficiencyOfYang;//阳虚质
    private String deficiencyOfYin;//阴虚质
    private String deficiencyOfPhlegm;//痰湿质
    private String hygrothermalSubstance;//湿热质
    private String bloodStasisSubstance;//血瘀质
    private String stagnationOfQi;//气郁质
    private String specialTemperament;//特禀质
    private String zhuangtai;
}
